﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Grain.Crm.DataMigrator
{
    /// <summary>
    /// Helper class for loging to console output.
    /// </summary>
    public class ConsoleLog
    {
        public static void Info(string message)
        {
            Console.WriteLine(message);
        }

        public static  void Warning(string  message)
        {
            Console.ForegroundColor = ConsoleColor.Yellow;
            Console.WriteLine("  Warning: " + message);
            Console.ResetColor();
        }

        public static void Error(string message)
        {
            Console.ForegroundColor = ConsoleColor.Red;
            Console.WriteLine("  Error: " + message);
            Console.ResetColor();
        }
    }
}
